home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows 3-Pak 2 - Disc 2
/
Infomagic - Windows 3-Pak Volume 2 (Disc 2 of 3).iso
/
Stock-Tools
/
MAWIN12R.ZIP
/
_SETUP.1
/
TEXTPARSEEXT.QCF
< prev
next >
Wrap
Text File
|
1998-07-21
|
12KB
|
255 lines
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// The Market Analyzer for Windows
// (C) Copyright 1994, 1995, 1996, 1997, 1998
// by Jim Dowdle
// Methods shown herein may be used for no other purpose than
// creating and modifying configuration files for use with this product.
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// QuoteList Configuration File
// Customized for Text Quote File Parsing (not downloading, parsing of externally downloaded file)
// with Extended data Fields
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// this file contains your Internet Site Path (URL) for the root .qtl file;
// defines the download method;
// and contains parsing instructions to be used by the MAWIN generic
// parsing routines
// You may edit it as needed if you choose to change the Site used,
// or if the Site format changes
// This method of specifying and decoding Web Pages has been chosen to make it
// "easy" to adapt to new pages or changes in pre-defined pages.
// Some users may not wish to get into this level of detail, and others may find
// it easy to use this specifying/formatting scheme to add new pages to your
// daily downloads, or just to keep up with changes.
// If you do not wish modify these files, pre-defined files and updates may become
// available in the near future.
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// The optional timezone indicator sets the timezone for the source of quotes for this page
// MAWIN will compare your timezone (see Global Setup button) with the page timezone
// and adjust the default date and timestamps to the date and time at the page location
//Timezone=A
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// This optional entry allows quote companies to be added to the quotelist which are found
// in the page. It would normally be applicable to a download by_page.
// The default is Off.
Add_Quote_Requests_to_QuoteList_from_Page=On
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// This optional entry activates a mode useful for options pages at CBOE to get the symbol
// from the 1st entry in the Quotelist
// This will get the underlying security from the Quotelist 1st entry, and append it to the URL
// below to form the path to the Options page for the indicated underlying security
// GetOptionSymbolFromQuoteList=On
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// This is the I/O formatting section
// The keywords which may be used are:
// Numeric Keyword Identifiers:
// future: Hi, Low, Bid, Ask, Open, Close, Prev, Change, Volume, Date, PE_Ratio, Dividend, and Earnings.
// now: Hi, Low, Bid, Ask, Open, Close, Prev, Change, Volume, Date.
// Textual Keyword Identifiers:
// Symbol, Co_name, Time
// Note that just specifying output will not obtain it....it must be available from the chosen page, and must be
// specified further below.
// Output format:
// If none is specified, the format will be:
// Date Hi Low Close Volume Time
// Specify output with comma delimeter, then spaces as indicated
OutputFormat=Symbol 1 "D, " Date 1 Open 1 Hi 1 Low 1 Close 4 Volume
//OutputFormat=Date Hi Low Close Volume Time
OutputDateFormat=yymmdd
// fields will be delimeted by fill spaces to the following positions by default:
// field positions by field number: 0, 11, 24, 37, 50, 62, 74, 86, 98, 110, 122
OutputFieldPositions= 0, 11, 24, 37, 50, 62, 74, 86, 98, 110, 122
// A header section normally preceeds the data in a historical quote file,
// and the header may now be customized or eliminated.
// If no header specifier statement is provided, the default header will be
// obtained from file Header.day
//Header=Header.day
Header=TPheader.day
// Header=none
// the default output delimeter will be spaces
//OutputDelimeter=spaces
// alternatively, comma delimeted output may be used, with no spaces
OutputDelimeter=comma
// Input format: (for imports)
// future InputFormat=Date Open Hi Low Close Volume Time
// there is no need for an input delimeter specification
// mawin will use either >1 space, or comma delimeted.
//ExportFormat=Date Hi Low Close Volume Time
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// This is the Site URL including any prefix characters up to the qutoes to be added,
// which will come from the .qtl file automatically as it executes
// enter text file for parsing here instead of URL
// can be full path name or relative
File=Imports\980607.stk
//File=Imports\
// for this page, the date must be appended, in the following format
// (this will be done automatically by MAWIN, due to the following instruction
// comment out this line if a fixed date above is used
//AppendDate=yymmdd
// now, after the variable date, the following fixed string must be added:
// comment out this line if a fixed date above is used
//Append=.stk
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// This is the Site URL for the Browser Direct Link.
// Note: http:// is included
// To distinguish this optional input, it must be preceeded by BrowserLink=
//BrowserLink=http://www.afv.se/eng/aktie/alfalista.stm
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// This is the Site URL for the Symbol Search page.
// You will need this to use the automatic Symbol Search option
// which will come from the .qtl file automatically as it executes
// Note: http:// is included
// To distinguish this optional input, it must be preceeded by SymSearch=
//SymSearch=http://www.afv.se/eng/aktie/
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// the next entry must define the download method.
// the entry will be either "by_page" or "by_quote"
// "by_page" means the page inherently defines the quote information which will be received.
// these are usually index pages which are predefined.
// "by_quote" means the quote requests will be appended from the .qtl file automatically
//by_quote
by_page
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// Optionally, enter the number of quotes per page this URL supports
// the default will be 10, which for now, will be the maximum allowable
// (this only applies to by_quote, not by_page mode
//NumQuotesPerPage=1
// the next entry tells MAWIN what delimeter character to add between appended quote symbols
// for example:
// www2.merrill-lynch.ml.com/htbin/indlink?tick=dis,hd,xrx,spq
// could be a valid request for this page, and the delimeter ',' is used
// other sites may use '+' or other characters as a delimeter
// for pages only accepting 1 quote per page, a delimeter will not be needed or expected
//,
// (to determine what delimeter is used, bring up the page using your Web Browser,
// request your stock quotes, and observe the delimeter used...usually shown in the
// top text field of your Browser, as a part of the URL.)
// if the method is "by_page", enter nothing here; MAWIN will skip this field
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// next, tell MAWIN what character string to look for as a trigger to begin looking for quotes.
// if you decide to customize your own download site, you can pick this string by first bringing
// up the site using a Web Browser, and use "file save" to save the .htm image of the page.
// then, examine the .htm file using any good text editor, such as WordPad, or Notepad.
// first look for a string which will be used as a trigger to begin looking for quotes.
// for this page, there are two types of quotes. The first trigger phrase is:
//Ticker
StartTrigger=None
CorrelateBy=Order // specify how to correlate quote to quotefile
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// next, enter the trigger string which indicates the start of a quote
// for this type, it is:
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// next, enter the trigger string which indicates the start of a quote
// unless otherwise indicated, this will be required to start the line
// for this type, it is:
//TriggerStringStart=Anywhere
TriggerStringStart=Beginning // default
TriggerString=None
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// MAWIN will automatically find quote data fields as specified by format keywords herein:
// The keywords which may be used are:
// Numeric Keyword Identifiers: (case-sensitive)
// Hi, Low, Bid, Ask, Open, Close, Prev, Change, Volume, openinterest, Date, PE_Ratio, Dividend, and Temp
// "Temp" will be available to be used to store/handle throwaway numerics between quote data
// "Temp" may be used multiple times
// Textual Keyword Identifiers:
// Symbol, Co_name, Time, ExpChar, ExpYr
// for this file/site, the parsing commands are:
// *C starting in column 1 will allow extra long lines to be entered as a continuation without exceeding 180 max character line length
1 // lines per quote
ReplaceAll="," with " "
//AutoDate // will search for date field and remove before processing quote
//SetDateFormat=mm/dd
// Valid formats are:
// mm/dd/yy where / is a delimeter / or - (default)
// or mm/dd current year will be attached
// or mmddyy
// or mmddyyyy any order with or without delimeter
// use / only to indicate delimeter presence
NoDate // Do Not look for Date field (none or manual specify)
Symbol Hi Low Close Open Volume
// Custom Delim Strings are shown/required here
// number of spaces for delim can also be used, like: Close 3 Bid (default = 3)
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// If you have pulled up this file by external brousing, note that it is also accessable
// under the options menu from the MAWIN market analysis environment.
// lines which begin with // are ignored, and may be eliminated or reordered as you wish.
//---------------------------------------------------------------------------------------------------------------------------------------------------------